Tomorrow Happy Karwa Chauth from Isolated Study! Study smarter this festive season with IsolatedAI.Try AI free →

Computer science

Computer science

'

Answer using SQL statements

1)All information about rental with longest rental period. Rental period in days must appear.

2)How much money earned from rental by car manufacturer’s country every year.

3)Show 20% of our best customers by total income.

4)Show customers who used our rental 2 or more times and customer’s average money spending less than average rental price;

5)Show customer count by each state (for state show 2 letters abbreviation). Results sort by customer count descending order then by state abbreviation ascending;

6)Select car manufacturers in which cars were not maintained in 2008.

Wdt Pf Ve3YTY+QAAAABJRU5Erk Jggg==
BXKd Cb EXNfok Pw Zznj We1vly7IJ80J9fj LQl KEr K+5b6O36D7k W6Tgd AG9+F+6RIf Or TH7Ud D9E+dfw X8Qg7Wcfju MRRBU4Sb Aw6NQxk WZ5CGLf2s QCLJ293+g BJCF3fhk YXv B62d QUFBQf BY1ZMe PTr Mo Rb6t Foa X4k EZKJOEtdiaf ZEi IAt DA0EZKBMCsv8PQSSYjx LRs60AAAAASUVORK5CYII=
CEh DWJRBGWhgoj3j Gc+ABv Af BKQh LMqgz BZo4P8Dug4Ap4Fum Dw AAAAASUVORK5CYII=
W+9e+9r Eejkv AAAAABJRU5Erk Jggg==
W9r05FNWc QCQAAAAABJRU5Erk Jggg==

'

Manu
Manu

Expert Title:TEST

Answer

Student’s rating for this solution:

★ ★ ★ ★ ★ (5/5)

Extracted Transcript from Images

+